package com.baic.ibase.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Data
@Configuration
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttPropertiesConfig {

    /**
     * mqtt url
     */
    private String url;
    /**
     * mqtt 订阅主题
     */
    private String subscriptionTopic;

    /**
     * mqtt 订阅QOS
     */
    private int subscriptionQos;
    /**
     * mqtt 订阅clientId
     */
    private String subClientId;
    /**
     * mqtt 发布主题
     */
    private String publishTopic;
    /**
     * mqtt 发布QOS
     */
    private int publishQos;
    /**
     * mqtt 订阅clientId
     */
    private String pubClientId;

    /**
     * mqtt 账号
     */
    private String username;
    /**
     * mqtt 密码
     */
    private String password;



}
